package com.project.service;


import java.util.List;

import com.project.bean.UserBean;

public interface IUserService {	
	
	//通过名字查找user
	public UserBean findUserByName(String name);	
	//注册功能
	public int registerUser(UserBean user);
	//通过id查找user
	public UserBean findUserById(int id);

	//完善用户详细信息
    public int updateUserMessage(UserBean user);
    
    //修改密码
    public int changeUserPassword(int UId,String npwd);
    
    //完善user信息
    public int updateUserMessage(int UId,String uName,String uAddress,String img,Double x,Double y);

	//修改场馆用户的信息
	public int updateGym(UserBean user);
	
	//通过类型查找用户
	public List<UserBean> findUsersByType(int type);

}
